//
//  WordsForYouVC.m
//  DaaaQing
//
//  Created by iOSer on 2020/8/7.
//  Copyright © 2020 Fireloli. All rights reserved.
//

#import "WordsForYouVC.h"

@interface WordsForYouVC ()

@end

@implementation WordsForYouVC

- (void)viewDidLoad {
    [super viewDidLoad];
    
    self.title = @"Words for you.";
    
    UIImageView * imgView = [[UIImageView alloc] init];
    imgView.image = [UIImage imageNamed:@"bg.jpg"];
    [self.view addSubview:imgView];
    [imgView mas_makeConstraints:^(MASConstraintMaker *make) {
        make.edges.mas_equalTo(UIEdgeInsetsMake(0, 0, 0, 0));
    }];
    
    UIScrollView * scrollView = [[UIScrollView alloc] init];
    [self.view addSubview:scrollView];
    [scrollView mas_makeConstraints:^(MASConstraintMaker *make) {
        make.bottom.left.right.mas_equalTo(0);
        make.top.mas_equalTo(kHeight_NavBar);
    }];
    

    
    
    UILabel * label = [[UILabel alloc] init];
    label.numberOfLines = 0;
    label.font = [UIFont fontWithName:kXingKaiFontName size:24];
    label.text = @"    每次见到你时，都是真真切切的喜欢，每次见不到你的时候，都是真真切切的期盼。感谢你在我一无所有的时候，仍然陪在我的身边。我知道我亏欠你很多，还总惹你生气，但我知道马老师宽宏大度，定不会与我计较。我恳请你，下嫁于我，以后，就让我用余生去补偿这一切。白首之约，不离不弃。\n\n\n    给你我义无反顾的长长和久久\n    给我你多年后仍紧握的双手 ";
    [scrollView addSubview:label];
    
    [label mas_makeConstraints:^(MASConstraintMaker *make) {
        make.centerX.equalTo(scrollView);
        make.top.mas_equalTo(kNavHeight);
        make.width.mas_equalTo(kScreenWidth - 40);
        make.right.equalTo(scrollView).offset(-20);
    }];
    
    
    UILabel * heartLabel = [[UILabel alloc] init];
    heartLabel.numberOfLines = 0;
    heartLabel.font = [UIFont boldSystemFontOfSize:24];
    
    heartLabel.text = @"*. *..* *. .★ * ★..\n*.★ *.  *    *.  *   ★\n★  𝕄𝕒𝕣𝕣𝕪  𝕄𝕖 💍  ★\n    ‘★.         ★’\n        ‘*..★";
    [scrollView addSubview:heartLabel];
    
    [heartLabel mas_makeConstraints:^(MASConstraintMaker *make) {
        make.centerX.equalTo(scrollView);
        make.top.equalTo(label.mas_bottom).offset(40);
        make.bottom.equalTo(scrollView).offset(-40);
    }];
    
    
}



@end
